package com.love.rongapi.service;

import com.love.rongapi.model.request.*;
import com.love.rongapi.model.response.UserResponse;

public interface UserService {

    /**
     * 初始化昵称
     * @return
     */
    Boolean initNickName();

    /**
     * 创建AccessToken
     * @param request
     * @return
     */
    String createAccessToken(AccessTokenGetRequest request);

    /**
     * 添加用户
     * @return
     */
    Boolean saveUser(UserSaveRequest request);

    /**
     * 更新用户
     * @param request
     * @return
     */
    Boolean updateUser(UserUpdateRequest request);

    /**
     * 删除用户
     * @param request
     * @return
     */
    Boolean deleteUser(UserDeleteRequest request);

    /**
     * 获取用户信息
     * @return
     */
    UserResponse getUser(UserGetRequest request);
}
